#include <iostream>
using namespace std;
int maxnum(int num1,int num2);
float maxnum(float num1,float num2);
double maxnum(double num1,double num2);
int main()
{
	cout << "please input a num" << endl;
	//unsigned int n;
	//int n, m;
	float n,m;
	cin >> n >> m;
	auto max = maxnum(n,m);
	cout << n<< endl << m <<endl;
	//cout << (n>m?n:m) << endl;
	cout << "max = " << max << endl;
	return 0;
}

int  maxnum(int num1,int num2)
{
	auto max = num1>num2?num1:num2;
	return max;
}
float maxnum(float num1,float num2)
{
	auto max = num1>num2?:num2;
	return max;
}
double maxnum(double num1,double num2)
{
	auto max = num1>num2?num1:num2;
	return max;
}

